package red.stu.pconstraint.dto.mapper.token;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.jetbrains.annotations.Nullable;

/**
 * 非正常结束流程 <br/>
 *  - 可通过name进行监听
 * @author yihrmc @stu.red
 * @date 2019/11/15 10:04
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class CloseExpression extends BlockExpression {

    public static final String TYPE = "fail";

    @Nullable
    private String name;

    public CloseExpression() {
        super(TYPE);
    }

}
